package com.design.mode.aop;

import org.springframework.stereotype.Component;

/**
 * @ClassName Girl
 * @Description TODO
 * @Author xiongchao
 * @Date 2020/10/10 13:53
 **/
@Component
public class Girl implements IBuy {
    @Override
    public String buy() {
        System.out.println("女孩买了一个洋娃娃");
        return "洋娃娃";
    }
}
